from appium.webdriver.common.mobileby import MobileBy

from app_first_pratice.addmember_page import AddMemberPage
from app_first_pratice.base_page import BasePage


class ContractPage(BasePage):
    # _addmember_locator = (MobileBy.XPATH,"//*[@text='添加成员']")
    # 手动添加成员
    def goto_add_member(self):
        self.swipe_search(3,'添加成员').click()
        # self.find(MobileBy.XPATH,"//*[@text='手动输入添加']").click()
        return AddMemberPage()

